extends "../heianjie-1/heianjie-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("每{cd}秒对当前目标造成[炮击*3]的可暴击技能伤害", "浅水重炮", "heianjie2", 8)
var p2 = 1
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "heianjie2":
		heianjie2()

func heianjie2(cha = aiCha):
	if cha == null:return
	createFlyEff(sprcPos, cha, "sk_4_1_2")
	azurHurtChara(cha, att.atk*3, sys.HurtType.WEAPON, sys.AtkType.SKILL, "浅水重炮舰", true, p2)
